var express = require('express');
var router = express.Router();
var roomController = require('../controller/room');

/* GET users listing. */
// router.get('/', function(req, res, next) {
//   res.send('respond a room');
// });

router.get('/getRoomList', roomController.getRoomList);

router.get('/joinRoom', roomController.joinRoom);

router.get('/ready', roomController.ready);

router.get('/getRoomById', roomController.getRoomById);

router.get('/addStep', roomController.addStep);

router.get('/getSteps', roomController.getSteps);

router.get('/creatRoom', roomController.creatRoom);

module.exports = router;
